package com.lframework.starter.web.inner.vo.system.dept.logo;

import com.lframework.starter.web.core.vo.BaseVo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

@Data
public class UpdateSysDeptLogoVo implements BaseVo, Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @ApiModelProperty(value = "ID", required = true)
    @NotBlank(message = "ID不能为空！")
    private String id;

    /**
     * 图片名称
     */
    @ApiModelProperty(value = "名称", required = true)
    @NotBlank(message = "名称不能为空！")
    private String name;

    /**
     * 图片地址
     */
    @ApiModelProperty(value = "图片地址", required = true)
    @NotBlank(message = "图片地址不能为空！")
    private String url;

    /**
     * 部门id
     */
    @ApiModelProperty("部门id")
    private String deptId;
}